In the years between 1865 - 1900, what ideas and philosophies most influenced the transformation of the United States from isolationism to expansionism?