Design of a 3-MW 140-GHz gyrotron with a coaxial cavity