A hidden Markov model-based technique for gait segmentation using a foot-mounted gyroscope