Measurement and new applications of oxygen uptake rates in activated sludge processes