Odd-even effects in polymeric liquid crystals