How resources and encounters affect the distribution of foraging activity in a seed-harvesting ant