Dirichlet processes associated to diffusions