Temperature-dependent dielectric function of nickel