The Equation of State and Chemistry at Extreme Conditions: Applications to Detonation Products