Microbial viability measurements and activated sludge kinetics