A quasi-passive variable stiffness ankle-foot prosthesis