Waste stabilization ponds: effluent quality requirements and implications for process design