Algal diversity and traits predict biomass yield and grazing resistance in wastewater cultivation