Substituent parameters impacting isomer composition and optical properties of dihydroindolizine molecular switches.