Excited state relaxation channels of liquid-crystalline cyanobiphenyls and a ring-bridged model compound. Comparison of bulk and dilute solution properties