Photothermal deflection measurements for monitoring heat transfer during modulated laser heating of solids