Optimization of hybrid sol–gel coatings by combination of layers with complementary properties for corrosion protection of AA2024