An effective approach to the synthesis of phase-only reconfigurable linear arrays