Cotranslational Folding of Proteins on the Ribosome