Matrix studies on aromatic and heteroaromatic nitrenes and their rearrangements