How did the reforms brought about during the progressive era and foreign policies implemented during the imperialist era help shape America into what it is today?