Separation of nickel(II), cobalt(II) and lanthanides from spent Ni-MH batteries by hydrochloric acid leaching, solvent extraction and precipitation