The evolution and cellular structure of a detonation subsequent to a head-on interaction with a shock wave