Chemometrics and near-infrared spectroscopy : Avoiding the pitfalls