what is the process of cadmium in rocks