Structural basis for coupling protein transport and N-glycosylation at the mammalian endoplasmic reticulum