Influence of bicyclic anhydride structure on the outcome of the Castagnoli–Cushman reaction