Sexy birds are superior at solving a foraging problem