Cities as drivers of social mobility