Design and synthesis of a novel class of inhibitors for mild steel corrosion in acidic and carbon dioxide-saturated saline media