On the characterization of stereoregular polymers. I. Theory