Coupled mode analysis of light modulation in dielectric waveguides