Optimal synthesis of circularly symmetric aperture sources with shaped patterns