Synchronised transmembrane insertion and glycosylation of a nascent membrane protein