When a chlorinating agent such as thionyl chloride is used, it is used in an amount of 1 equivalent to a large excess relative to the compound (XVII) and a solvent such as chloroform, dichloromethane or tetrachloroethane is used, and the reaction is generally carried out at a temperature of about 20-80??? C. for a period of about 0.1-2 hours.