Prediction of chocolate quality from near-infrared spectroscopic measurements of the raw cocoa beans