Computer program for the analysis of infrared spectra