Pair interactions in polyelectrolyte-nanoparticle systems: Influence of dielectric inhomogeneities and the partial dissociation of polymers and nanoparticles.