Relationships between Product Ratios in Ambimodal Pericyclic Reactions and Bond Lengths in Transition Structures.