A new method based on machine learning to forecast fruit yield using spectrometric data: analysis in a fruit supply chain context