Influence of physical factors on the accuracy of calibration models for NIR spectroscopy.