Control Co-Design of Battery Packs With Immersion Cooling