Nonequilibrium solvation theory for the polarizable continuum model: a new formulation at the SCF level with application to the case of the frequency-dependent linear electric response function.