Variational Inference for Diffusion Processes