The optimization of an ionic liquid-based TALSPEAK-like process for rare earth ions separation