Moisture and ashes determination in foodstuffs by TG analysis