Thermal transitions of cassava starch at intermediate water contents