Reaction Paths of Photoinduced Electrocyclic Ring-Opening: 1,3-Cyclohexadiene and α-Terpinene