Effect of thermal history on amylose gelation