New research has shown for the first time that the part of the brain used for learning, memory and mental health is smaller in people with unhealthy diets.