Influence of molecular structure on cholesteric and nematic liquid crystalline properties and phase transitions in these structures