Unravelling the roles of surface chemical composition and geometry for the graphene–metal interaction through C1s core-level spectroscopy