Measurement of the hadronic final state in deep inelastic scattering at HERA