Exploring two-state reaction pathways in the photodimerization of cyclohexadiene.