Trajectory tracking control of a biomimetic exoskeleton for robotic rehabilitation