Nanocalorimetric analysis of the ferromagnetic transition in ultrathin films of nickel