Treatment of dementia and Alzheimer's disease