Comparison of the Gaussian-decomposition and the Fresnel–Kirchhoff diffraction methods in circular and elliptic Gaussian beams