Application of Biosorption and Biodegradation Functions of Fungi in Wastewater and Sludge Treatment