6, A, B and D are as defined above, and X and Y each represent a leaving group such as a halogen atom, tosyloxy group or mesyloxy group.Namely, a compound [IIc] is converted to a compound of above general formula [IIIc], which is then reacted with a compound of general formula [IVc] in the presence of a base.