Ecological and social factors affect the occurrence and outcomes of intergroup encounters in chimpanzees