Surface temperature profile by photodeflection method