A Deterministic Approach to the Synthesis of Pencil Beams through Planar Thinned Arrays