Graph-theoretic approach to the decoupling of MIMO systems