Oxidation and halogenation of methyl 4,5,6,7-tetrafluoro-benzo[b]thiophen-2-carboxylate