The trapping of reactive intermediates using flow chemistry