Optimizing the glycosylation of recombinant proteins