Walk Before You Dance: High-fidelity and Editable Dance Synthesis via Generative Masked Motion Prior