Complex networks: an information-theoretic approach