Thermal behaviour of dipolarophile-containing acyl azides: Intramolecular cycloaddition versus Curtius rearrangement