A Robotic and Game-Based Framework for Assisted Upper Limb Rehabilitation