Optical field distribution in close-confined laser structures