Synthesis of azachromones and azachromanones