Improving the reliability of InAs quantum-dot laser diodes for silicon photonics: the role of trapping layers and misfit-dislocation density