Epoxy ester resins as corrosion inhibitors for aluminium and zinc pigments