Dementia diagnosis can also make a big difference in health care costs