Shadowing in inelastic lepton-deuteron scattering