Measurement of the thermal variation of the X-ray Debye temperature of pure nickel and chromium