Chemical processing with lasers