U.S. to transfer some Guantanamo detainees to Afghanistan