Analysis of the Photonic Bandgaps for Gyrotron Devices