Restoring Real-World Images with an Internal Detail Enhancement Diffusion Model