Second harmonic generation from a charged Ni electrode with and without anion adsorption