Surface engineered magnetic nanoparticles for removal of toxic metal ions and bacterial pathogens.