Determination of an empirical law of aluminium and magnesium alloys absorption coefficient during Nd : YAG laser interaction