Why did european governments focus their energies on improving capital cities in the second half of the nineteenth century?