Vibrational spectra of large molecules by density functional computations beyond the harmonic approximation: the case of pyrrole and furan