AI accurately predicts patients who will develop dementia within 2 years