Ab Initio Calculations of Free Energy Barriers for Chemical Reactions in Solution