On the Spectrophotometric Determination of Total Phenolic and Flavonoid Contents