Relativistic two-fluid model of nucleus-nucleus collisions