Molecular first hyperpolarizabilities of cyanomethane and iodomethane