Improving the resilience and the sustainability of the historic urban systems: the METRICS project