Weakly nematic-highly nematic phase transitions in main-chain liquid-crystalline polymers