Synthesis of 4H-thiazines