Applications of Metal Organic Frameworks in Wastewater Treatment: A Review on Adsorption and Photodegradation