Territorial capital and the resilience of European regions