Determination of porosity change from shrinkage curves during drying of food material