Electrically tunable quantum anomalous Hall effect in 5d transition-metal adatoms on graphene