Resonant frequencies of post-wall waveguide cavities