Correlation for the automatic identification of drying endpoint in near-ambient dryers : Application to malting barley