Conducting copolymers nanocomposite coatings with aggregation-controlled luminescence and efficient corrosion inhibition properties