Activated sludge monitoring with combined respirometric–titrimetric measurements