Boundary-element analysis of dielectric slab waveguide discontinuities.