Thermal [1,7]-sigmatropic hydrogen shift versus electrocyclization of dienylallene sulfoxides