what are the byproducts of producing cadmium through mining