A method to differentiate the causes of stiff-knee gait in stroke patients