Use of near infrared spectroscopy in monitoring of volatile fatty acids in anaerobic digestion.