On the Tradeoff Between the Mean and the Variance in Foraging: Effect of Spatial Distribution and Color Preference