A gating function for the hippocampus in working memory