Foundations of American diplomacy, 1775-1872