Steric stabilization of nanoparticles with grafted low molecular weight ligands in highly concentrated brines including divalent ions