Bridgehead nitrogen heterocyclic systems synthetic studies on thiazole thiadiazole thiazine and thiadiazine derivatives