Experimental and quantum chemical studies of the electronic absorption spectra of pyrimidine derivatives