Anodic hydrogen evolution on Mg