Thermodynamics of the geometrical isomerization of 2-butene and 2-pentene