Accurate vibrational spectra of large molecules by density functional computations beyond the harmonic approximation: the case of uracil and 2-thiouracil