Analysing the effects of group size and food competition on Japanese macaque social relationships