The reaction may also be carried out without a solvent and furthermore any water formed during the reaction may be removed by azeotropic distillation, e.g. by heating with toluene using a water separator, or by adding a drying agent such as magnesium sulphate or molecular sieve.