Inclusive production of hadrons in nucleus-nucleus collisions at high energies