The social conditions of territorial development: a comparison between Sardinia and Sicily