Orientation of the liquid crystalline nickel phthalocyanine films confined between electrodes