Modulation of electronic structures in two-dimensional electrocatalysts for the hydrogen evolution reaction.