Natural selection has contributed to functional immune response differences between human hunter-gatherers and agriculturalists