Synthesis and Biological Activities of Some Condensed Oxazine and Pyrimidine Derivatives: Cyclization, Ring Transformation and Functionalization of Oxazine