A territorial articulation index for rural areas applied to for spanish comarcas