Outlier detection in near-infrared spectroscopic analysis by using Monte Carlo cross-validation