Heat and Mass Transfer in Advanced Batteries