Passively Q-switched waveguide lasers based on two-dimensional transition metal diselenide.