A modified method to determine biomass concentration as COD in pure cultures and in activated sludge systems