pH and shelf life of foods