Electronic structure of crystalline copper phthalocyanine