Purified terephthalic acid