Flexible optical waveguide beam splitters based on directional coupling