Corrosion Inhibitors—Correlation between Electronic Structure and Efficiency