Structure–antioxidant activity relationships of gallic acid and phloroglucinol