A simulation technique for radiating shock tube flows