Structural comparisons of networks and model-based detection of small-worldness