Predicting hydrolysis of whey protein by mid-infrared spectroscopy