Bio-based substances isolated from green compost: application in wastewater treatment.