Boundary Formulation of propagation problems in guiding structures for integrated optics