Second-harmonic generation in nonpolar chiral materials: relationship between molecular and macroscopic properties