The electronic structure of lead phthalocyanine films