Propagation of shock waves in foamed polystyrene