What were the various causes for the rise in imperialism during the second half of the nineteenth century?