Dementia diagnosis could be fast-tracked using artificial intelligence