Quantum chemistry for solvated molecules and electronic excited states on graphical processing units