Wastewater treatment and biological nutrient removal