Wearable robotics for motion assistance and rehabilitation