Design and Validation of a Wearable SmartSole for Continuous Detection of Abnormal Gait