Microalgae Cultivation under Heterotrophic and Phototrophic Conditions for Nutrient Recovery from Wastewater