On the architectural and energy classification of existing buildings: a case study of a district in the city of Palermo