Scientists learn how what you eat affects your brain — and those of your kids