Treatment of Hazardous Organic and Inorganic Compounds through Aqueous-Phase Photocatalysis: A Review