Before 1898, most Americans opposed imperialism. Why did imperialism afterwards become more popular?