The discovery and investigation of novel rearrangements of cyclobutenediones triggered by nucleophilic addition