Territorial capital and the economic crisis: the role of spatial effects