Hg adatoms on graphene: A first-principles study