Dependence of structural and optical properties of In0.23Ga0.77As/GaAs quantum wells on misfit dislocations: Different critical thickness for dislocation generation and degradation of optical properties