Automation of glucose measurement in fermentor broths