Design and application of a high-precision, broad spectral range CCD-based absorption spectrometer with millisecond time resolution