Approximation by Gegenbauer polynomials in the study of a rectangular ridged waveguide. Application to the analysis of a waveguide septum polarizer