Acid- and base-catalyzed isomerization of cis-1,2-diarylacrylonitriles