Lateral displacement capacity of reinforced concrete elements damaged by corrosion