Role of thermal diffusion in liquid crystal-light interaction