Mechanism and dynamics of conformational ordering in xanthan polysaccharide.