Mode Competition in a Two-Mode Gyrotron With Delayed Reflections