By which year, did New York City become the largest city in the United States