An Effective Approach to the Synthesis of Phase-Only Reconfigurable Linear Arrays