Measurement of the Hardness of Medium Carbon Steel Using the Magnetic Mixing-Frequency Technique