PERIODIC SOLUTIONS OF STOCHASTIC DELAY DIFFERENTIAL EQUATIONS AND APPLICATIONS TO LOGISTIC EQUATION AND NEURAL NETWORKS