Site-specific electronic and geometric interface structure of Co-tetraphenyl-porphyrin layers on Ag(111)