Quantitative analysis of planetary reflectance spectra with principal components analysis