Ecology and sociality in a multilevel society: ecological determinants of spatial cohesion in hamadryas baboons.