Generation of multiply charged refractory metals in an electron-cyclotron resonant discharge in a direct magnetic trap