Reaction mechanism in fast combustion synthesis of superconducting FeSe and FeSe0.7Te0.3