GENESIS: A Generative Model of Episodic-Semantic Interaction