An information-theoretic framework for resolving community structure in complex networks