Contrast estimation for noisy observations of diffusion processes via closed-form density expansions