Principles of Chaperone-Assisted Protein Folding: Differences Between in Vitro and in Vivo Mechanisms