On the influence of hydronium and hydroxide ion diffusion on the hydrogen and oxygen evolution reactions in aqueous media