A "Mediterranean diet" does not lower the odds of developing dementia, a 20-year study from Sweden suggests.