Copper phthalocyanine on Si(111)-7 × 7 and Si(001)-2 × 1 surfaces: an X-ray photoemission spectroscopy and synchrotron X-ray absorption spectroscopy study