Camp stability predicts patterns of hunter-gatherer cooperation.