Cities account for 45 percent of the world's population, more than double the share in 1950.