The roles of amylose and amylopectin in the gelation and retrogradation of starch