A constitutive model of aluminum foam for crash simulations