Modelling biological organic matter and nutrient removal processes from wastewater using respirometric and titrimetric techniques