Implementation of dynamic strength models into 2D hydrocodes: Applications for atmospheric breakup and impact cratering