Development of X-ray absorption diagnostics for gas-phase reacting flows