Transient Model for CW and Pulsed Laser Machining of Ablating/Decomposing Materials—Approximate Analysis