Automatic method for determination of total antioxidant capacity using 2,2-diphenyl-1-picrylhydrazyl assay