Solvophobic and Solvophilic Effects on the Potential of Mean Force between Two Nanoparticles in Binary Mixtures