Changes in leg and joint coordination during locomotor adaptation in amputees and able-bodied controls