The reaction may be performed in a suitable solvent, for example a polar aprotic solvent such as an amide, e.g. N,Ndimethylformamide; or a non-polar solvent such as an ether, e.g. a cyclic ether such as tetrahydrofuran or a halogenated hydrocarbon, e.g. dichloromethane.