A Mediterranean diet rich in vegetables, berries, nuts and olive oil could slow down brain ageing, according to a long-term study.