Stochastic differential equations and geometric flows