Thermal stability and degradation of starch derivatives