Measurement of D(+/-) and D(0) production in deep inelastic scattering using a lifetime tag at HERA