The same foods that cause obesity and heart disease are equally bad for your brain.