Artificial muscles for wearable assistance and rehabilitation