Theoretical modeling of the valence UV spectra of 1,2,3-triazine and uracil in solution