Benchmark graphs for testing community detection algorithms