Autocorrelation analysis of infrared spectra from minerals