An evolutionary perspective on why food overconsumption impairs cognition