Stability of shock wave structures in nonlinear elastic media