Stacking of InAs/InP(001) quantum wires studied by in situ stress measurements: Role of inhomogeneous stress fields