Disentangling hippocampal and cortical contributions to episodic memory