What role does the endoplasmic reticlum play in protein synthesis?