Changes in Diet Quality from Mid- to Late Life Are Associated with Cognitive Impairment in the Singapore Chinese Health Study.