When the Dodgers and Yankees meet again in the World Series after a 42-year absence, they will be representing cities whose fortunes have shifted enormously over the intervening decades.