Effect of surface charge and electrode material on the size-dependent oxidation of surface-attached metal nanoparticles.