Title: A variational principle for mode-coupling between dielectric waveguides