Resilience, robustness and topological stability of social and criminal networks