Dynamic Adaptation of Robotic Ankle-Foot Prostheses to Compliant Terrain: Reacting to Surface Stiffness Changes in