New method for the study of mirror heating of a semiconductor laser diode and for the determination of thermal diffusivity of the entire structure