Compact Low-Loss Chip-to-Waveguide and Chip-to-Chip Packaging Concept Using EBG Structures