With growing evidence linking diet to cognitive function, even little changes to your eating habits may help protect your mind as you age