Recent Developments in Functional Nanocomposite Photocatalysts for Wastewater Treatment: A Review