Method of electromagnetic separation of radioactive isotopes of rare-earth elements directly from targets