The potential-dependent structure of Pt3Ni alloy electrocatalysts and its effect on electrocatalytic activity