Synthesis of shaped beam reflectarrays with constrained geometry by exploiting nonradiating surface currents