Novel intermolecular heterocycle exchange reaction of cyclohepta[b][1,4]benzoxazines and their S-analogs with 1,2-bifunctional reagents.