Optical waveguides in laser crystals