Modeling Temporal Data as Continuous Functions with Stochastic Process Diffusion