Which technological innovation did not have a direct impact on imperialism during the late nineteenth and early twentieth centuries?