Reaction engineering models of biological waste water treatment and the kinetics of the activated sludge process