Theoretical Study of Molecular Structure, Tautomerism, and Geometrical Isomerism of N-Methyl- and N-Phenyl-Substituted Cyclic Imidazolines, Oxazolines, and Thiazolines