Group size, grooming and fission in primates: a modeling approach based on group structure.