Instruments and methods for microfabrication by laser-controlled chemistry