MeMo: Towards Language Models with Associative Memory Mechanisms