Relations Between Adjacency and Modularity Graph Partitioning