Nonequilibrium solvation for vertical photoemission and photoabsorption processes using the symmetry-adapted cluster-configuration interaction method in the polarizable continuum model