Assessment of in-line near-infrared spectroscopy for continuous monitoring of fermentation processes.