Time-resolved, photothermal-deflection spectrometry with step optical excitation