Optimization of an air-based thermal management system for lithium-ion battery packs