Cities that favored pedestrians over cars are reversing course