Core level shifts of intercalated graphene