A simulation tool for the analysis and design of leaky wave antennas in laterally shielded planar technology with application to metamaterials