Solute electronic structure and solvation in chemical reactions in solution