Using extended Kalman filter for data assimilation and uncertainty quantification in shock-wave dynamics