Theoretical design of a series of 2D TM-C3N4 and TM-C3N4@graphene (TM = V, Nb and Ta) nanostructures with highly efficient catalytic activity for the hydrogen evolution reaction.