Expansion of the global error for numerical schemes solving stochastic differential equations