Measurement of D*+ production in deep inelastic e+p scattering at HERA