Transition metal mediated halogen atom transfer radical cyclisation in furan synthesis, chemoselective esterification and amine oxidation