Instabilities of shock and detonation waves