Women with PCOS more likely to have memory, thinking issues in middle age: Study