Analysis of a post with arbitrary cross-section and height in a rectangular waveguide