Equivalent Circuits of Lossy Two-Port Waveguide Devices