Text this: Synthesis and Study of Chemical, Thermal, Mesomorphic, and Optical Properties of Terphenyls Modified with Nitrile Groups