Development of a novel wearable system for real-time measurement of the inter-foot distance during gait