Optical second-harmonic spectroscopy of Au nanowires