Corrosion protection by multilayered conducting polymer coatings