application of infrared spectroscopy to the rapid