On the optimal synthesis of ring symmetric shaped patterns by means of uniformly spaced planar arrays