Chelating resins based on polyvinylamine and divinylbenzene or ethylene glycol dimethacrylate