Carbon and medium-alloy steels