hypothyroidism and dementia