The effects of stress and mood on cognitive performance