An automated classification model based on NIR spectra to predict the technological quality of common wheat