Corrosion studies on pulsed and direct current chromium deposits