Theory of quantum dot cascade laser: operation principles, control of nonradiative scattering, and flexibility of optical/electrical design