Effect of Counterion Valence and Polymer Charge Density on the Pair Potential of Two Polyions