In what way did imperialism hurt rather than help European nations?.