Protein folding in the endoplasmic reticulum