Amputees control bionic legs with their thoughts