Measurement of inelastic J/y production in deep inelastic scattering at HERA