Engineering quantum anomalous/valley Hall states in graphene via metal-atom adsorption: An ab-initio study