Analytical and numerical calculations of the temperature distribution in Si and Ge targets irradiated by excimer lasers