Use of the robot assisted gait therapy in rehabilitation of patients with stroke and spinal cord injury