Nutrients recovery from wastewater streams