Closed form basis function Fourier spectra for dispersion calculation of metasurfaces made by circular and elliptical ring patches