A control-brake orthosis for FES-aided gait