Adaptive estimation of continuous gait phase based on capacitive sensors