The transition between bound and surface-leaky modes on one-dimensional periodic printed structures