Removal of pharmaceutical residues in a pilot wastewater treatment plant