Speed-adaptive control of functional electrical stimulation for dropfoot correction