Corrosion inhibitors for increasing the service life of structures