Refinement of Pairwise Potentials via Logistic Regression to Score Protein-Protein Interactions