Role of estrogen in cognitive functions