Text this: Dispersion-free characterization of terahertz slab–waveguide modal confinement based on a metal Bragg grating structure