Real-time myoelectric control of knee and ankle motions for transfemoral amputees.