Asset pricing based on stochastic delay differential equations