DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesis