Using fractal dimensions for determination of porosity of robot laser-hardened specimens