Electromagnetic Fields for the Treatments of Wastewater: A Review of Applications and Future Opportunities