Early-life education improves memory in women than men: Study