Simultaneous Locomotion Mode Classification and Continuous Gait Phase Estimation for Transtibial Prostheses