How does stress affect cognitive functions like memory ?.