Neighbor effect: evidence of affiliative and agonistic social contagion in captive chimpanzees (Pan troglodytes)