Comparison of thermally detected optical absorption and electromodulation spectra of GaAs/AlGaAs quantum wells