A resulting carboxylic acid of formula (III) may then be converted to an activated derivative thereof as described herein above, e.g., a carboxylic acid of formula (III) may be treated with a chlorinating agent such as thionyl chloride or oxalyl chloride to afford an acid chloride of the formula