Glycosylation of bacterial and archaeal flagellins