Carrier dynamics and lasing behavior of InAs/GaAs quantum dot lasers with short cavity lengths