Riemann problem for gasdynamic combustion