Metal binding affinity of imidazole ligands immobilized on poly(glycidyl methacrylateco-ethylene dimethacrylate) and on silica