Bridging pole and coupled wave formalisms for grating waveguide resonance analysis and design synthesis.