Infrared sequence transformation technique for in situ measurement of thermal diffusivity and monitoring of thermal diffusion