Advanced techniques to remove phosphates and nitrates from waters: a review