Spectroscopy characterization of the thermal dynamics in microspherical resonators