Distributed Stochastic Gradient Descent with Staleness: A Stochastic Delay Differential Equation Based Framework