Modes in anisotropic optical waveguides formed by diffusion