Time and energy costs of different foraging choices in an avian generalist species