Multivariate strategies for the processing of spectral and hyperspectral-imaging data in cultural heritage diagnostics