D production in deep inelastic scattering at HERA