Three-dimensional finite-element analysis of the quenching process of plain-carbon steel with phase transformation