Hadrochemistry and evolution of (anti)baryon densities in ultrarelativistic heavy-ion collisions