The electron cyclotron instability and high-frequency ionization in a beam-plasma experiment