Calculation of the Debye-Waller factor for nickel