Atomic contributions to the valence band photoelectron spectra of metal-free, iron and manganese phthalocyanines