Integrated waveguide lasers