Hot Langmuir probe measurements in a chemically reactive plasma and accurate evaluation of the electron energy distribution function