Efficient Diffusion Planning with Temporal Diffusion