Study links rare blood type to high risk of memory loss