Dependence of mesomorphism on molecular rigidity of chalconyl liquid crystals with two phenyl rings