What geographical factor significantly influences the distribution and density of population in cities across the world?