Efficient removal of heavy metals from electroplating wastewater using polymer ligands