Immobilization of heavy metal using dithiocarbamate agent