Rehabilitation training with prosthetic legs