Large study links gum disease with dementia