Single-frequency waveguide lasers and their design