Coupled-mode theory for optical waveguides: an overview