Atomic mass dependence of hadron production in deep inelastic scattering on nuclei