Optimized dual-band planar THz waveguide