Studies on certain polymer matrices containing dithiocarbamate functional groups for metal ion extraction