An information-theoretic derivation of min-cut based clustering