Multiphoton absorption spectra using thermal blooming: I. Theory