Structure, mechanical and barrier properties of amylose and amylopectin films