Virtual reality for upper limb rehabilitation in sub-acute and chronic stroke: a randomized controlled trial