InAsN/GaAs(N) quantum-dot and InGaNAs/GaAs quantum-well emitters: a comparison