Molecular dynamics approach to study the discrepancies in the thermal behavior of amylose and chitosan conformations