From Nationalism to Internationalism: U.S. Foreign Policy to 1914