Ion exchange and solvent extraction of metal complexes