Treatment of Wastewaters by Microalgae and the Potential Applications of the Produced Biomass—A Review