Optimizing the energy efficiency of cold chains