Single-beam infrared (IR) spectrometer