The phase stability of terephthalic acid under high pressure