The Emergence of Reproducibility and Consistency in Diffusion Models