Is adherence to a Mediterranean diet associated with cognitive function and dementia?