The reaction of compounds of formula (IIA) and (IIB) with an amine HNR2R3 can be carried out in a solvent such as N-methyl-pyrrolidinone at a temperature between 0??? C. and 150??? C. Suitable leaving groups L include halogen, especially chloro or bromo.