Surface electromyogram control of a prosthetic hand with wrist degrees of freedom