A Haptic Feedback System for Lower Limb Amputees Based on Gait Event Detection