How the risk of dementia should impact your retirement planning