Configurational statistics of polysaccharide chains. Part I. Amylose