A network of business relations to model counterparty risk