Estimation of the coefficients of a diffusion from discrete observations