Size and critical thickness evolution during growth of stacked layers of InAs/InP(001) quantum wires studied by in situ stress measurements