Properties of hadronic final states in diffractive deep inelastic scattering at HERA