Blood test could detect the onset of dementia decades before symptoms are noticed, study finds