Continuous Phase Estimation in a Variety of Locomotion Modes Using Adaptive Dynamic Movement Primitives