A novel framework for virtual prototyping of rehabilitation exoskeletons