A vaccine being used by the NHS to prevent shingles could also significantly delay the onset of dementia, according to new research that has left scientists baffled.