chemical processes in extraction of gold