Modular poly(ethylene glycol) ligands for biocompatible semiconductor and gold nanocrystals with extended pH and ionic stability