Application of solvent extraction to the refining of precious metals