Statistical theory of polymeric lyotropic liquid crystals