Phase switching dynamics for body-powered hand prostheses