Prediction of Mechanical Properties of Carbon Steels After Hot and Cold Forming by Means of Fast Microstructure Analysis