Characterization of whey protein gel with near-infrared spectroscopy