Moisture determination for food quality assessment