Theory for the etching of organic materials by ultraviolet laser pulses