Extraction separation of rare-earth ions via competitive ligand complexations between aqueous and ionic-liquid phases.