How did the United States and Great Britain become friends?