The story behind recent releases of Americans held in foreign countries