A theory of waveguide design for plasmonic nanolasers.