A nutrient deficiency affecting one in five people in the UK could increase the risk of dementia and accelerate the onset of symptoms, new research suggests.