Determination of organic acids in beer after extraction with an anion-exchange resin