Smart Packaging Technologies for Shelf-Life Extension and Safety Monitoring