Obstacles and catalysts to peaceful coexistence in chimpanzees and bonobos