Synthesis of versatile diglycolamide grafted dendritic polymer and using it as a ligand for metal partitioning