Ditto: Accelerating Diffusion Model via Temporal Value Similarity