X‐ray photoelectron spectroscopy of tetraphenylporphin and phthalocyanine