extraction of gold by smelting pyrometalurgy