Structure and interfacial interactions of thin films of amylopectin