Searching a mid-infrared spectral library of solids and liquids with spectra of mixtures