Thermal analysis of laser drilling processes