A stochastic delay differential model of cerebral autoregulation