Pseudomorphic growth and nucleation of misfit dislocations in the epitaxial system (001) InP/In1-xGaxAs. II. Critical thickness and dislocation motion