The bromination of the compounds of the formula I to give compounds of the formula I' can be carried out by methods known per se, for example by the method described in German Offenlegungsschrift No. 2,805,312, before or after any conversion of compounds of the formula I in which R=H or alkyl to compounds of the formula I in which R is a group (a) or (b).