A novel strategy for assisting Sit-to-Stand amd Stand-to-Sit tasks through a lower-limb exoskeleton