Trajectory Encoding in the Hippocampus and Entorhinal Cortex