The BEMS-2 on-line isotope separator at the JINR heavy-ion cyclotron