Martensitic transformation and stress partitioning in a high-carbon steel