general pairwise substitution score models for pairwise alignments and trees.