Study of the beam–wave interaction of a 220 GHz coaxial-cavity gyrotron with two electron beams