Controlling a Powered Knee-Ankle Prosthesis During Continuous and Automatic Transitions Between Activities