Electrical and optical properties of phthalocyanine films