Dislocation-induced spatial ordering of InAs quantum dots: Effects on optical properties