Surface work function of chemically derived graphene: A first-principles study