Preparation of bisanabasinylamides of dicarboxylic acids