Intragroup cohesion and intergroup hostility: the relation between grooming distributions and intergroup competition among female primates