N- and O-linked glycosylation of proteins