Algal biomass production coupled to wastewater treatment