Single-mode optical waveguides and directional couplers with rectangular cross section: a simple and accurate method of analysis