The electrochemical properties of metallic glasses