Historical small smart city protocol for sustainable regeneration of the small historic centers. A technological planning tool for multiple scenarios