The role of solvent in protein folding in vivo