Modular devices for sensor-based assessment and rehabilitation of stroke-impaired upper limb