Detection of Critical Conditions in Pouch Cells Based on Their Expansion Behavior