Dementia costs more to treat than heart disease or cancer, study finds