HRT used for menopause linked to dementia, new study finds