Spectral classification of rocks: analysis of laboratory 0.4 to 2.5 micron reflectance and 2.5 to 25 micron transmittance spectra of sedimentary and metamorphic rocks