Metallurgical Phases distribution detection through image analysis for simulation of laser hardening of carbon steels