A variable importance criterion for variable selection in near-infrared spectral analysis