Electrophilic Cyclization and Thermal Rearrangement of Allylic 1,1-Dimethylisoureas