Adsorption of agricultural wastewater contaminated with antibiotics, pesticides and toxic metals by functionalized magnetic nanoparticles