Energetics of a strongly pH dependent RNA tertiary structure in a frameshifting pseudoknot