Source time functions of earthquakes based on a stochastic differential equation