Theoretical simulation of vibrational sum-frequency generation spectra from density functional theory: application to p-nitrothiophenol and 2,4-dinitroaniline.