A calculation tool for optimizing the sustainability of packaging