Critical thickness and bow of pseudomorphic InxGa1-xAs-based laser heterostructures grown on (001)GaAs and (001)InP substrates