The evolution of mutualism and other forms of harmony at various levels of biological organization