smelting and roasting ores to recover gold