Inhibition and promotion of lead corrosion with the dichromate ion