Anticipatory dynamics in the human brain guide foraging for primary rewards