The fate of gold in cupric chloride hydrometallurgy