Statistical inference for stochastic differential equations