Molecular interactions in optically induced nonlinearities