Computational study of heat transfer and gas dynamics in the pulsed laser evaporation of metals