Using smart technologies, artificial intelligence in food packaging can reduce food waste