Training Language Models on Synthetic Edit Sequences Improves Code Synthesis