Thermal valence isomerizations: stereochemistry of the 2,4,6-octatriene to 5,6-dimethyl-1,3-cyclohexadiene ring closure