Kinetic criteria for the mechanism of the hydrogen evolution reaction