Pair stochastic tree adjoining grammars for aligning and predicting pseudoknot RNA structures