Corrosion resistance of robust optical and electrical thin film coatings on polymeric substrates