Zaslat SMS: Water activity: theory and applications to food