Effect of the quantum-dot surface density in the active region on injection-laser characteristics