Calorimeters to advance thermal management and safety of batteries