Wearable sensors for gait analysis