Causal Deciphering and Inpainting in Spatio-Temporal Dynamics via Diffusion Model