Corrosion and passivity of metals in methanol solutions of electrolytes