Market potential and city growth: Spain 1860–1960