Direct monitoring of reactor biomass in fermentation control