Photochemical formation and reactions of organometallic compounds