Correlation between the molecular structure and the corrosion inhibiting effect of some pyrophthalone compounds