Modeling structural and phase transformations in the heat treatment and hot rolling of low- and medium-carbon medium-alloy structural steels