Studies on bridgehead nitrogen heterocycles containing thiazole, thiadiazole, thiazine and thiadiazine nuclei