Local concentration of (a) H+ and (b) OH− as a function of the distance from the nanoparticle surface.