Frequency-dependent second hyperpolarizabilities using coupled cluster cubic response theory