Synthesis of substituted tetrahydro-1,3-oxazines