Determination of the temperatures of hot nuclei from “first chance” emission spectra