Gyro-TWT Using a Metal PBG Waveguide as Its RF Circuit—Part I: Analysis and Design