An economic analysis of rapid transit in New York, 1870-2010