Ring-chain transformations of substituted 2-imino-1,3-thiazinoazoles