Shelf-life modeling for optimizing packaging systems