Emergent cooperation through mutual information maximization