Length and pH-dependent energetics of (CCG)n and (CGG)n trinucleotide repeats.