Synthesis, X-ray Diffraction, Thermogravimetric and DFT Analyses of Pyrimidine Derivatives