Bridging the gap between spatial and mnemonic views of the hippocampal formation