Hybrid photonic bandgap accelerating cavities