Rochester, the water-power city, 1812-1854