Improving understanding of the chemical and biological nutrient removal mechanisms in existing wastewater lagoons