Water-soluble carboxymethylchitosan used as corrosion inhibitor for carbon steel in saline medium.