Noninvasive optical chemical sensing for the food industry