Synthesis and properties of molecular switches based on the opening and closing of oxazine rings