Full-Wave Analytical Solution of Second-Harmonic Generation in Metal Nanospheres