Shaped and multiple beams using planar phased arrays