Adsorption of heavy metal cations by organic ligands grafted on porous materials