High-fat diet 'lowers risk of dementia'