Assessment of the Ecological Role of Historic Centres Based on the Relationship Between Biodiversity and Urban Composition