Criterion for quantifying the amount of spatial and spectral information acquired by hyperspectral cameras