Visual perception and social foraging in birds