Functions of the rough endoplasmic reticulum