Characterization of carbon and low-alloy steel after different heat treatments