Ambulatory Assessment of the Dynamic Margin of Stability Using an Inertial Sensor Network