A Rehabilitation Robot Control Framework for Task Trajectory Deformation and Robotic Assistance Adaption