MEGen: Generative Backdoor in Large Language Models via Model Editing