A modularity-based approach for identifying biodiversity management units