how do different acids affect the rate of corrosion