how is gold separated from its ore