Numerical simulation of thermal wave propagation during laser processing of thin films