Mapping local field distribution at metal nanostructures by near-field second-harmonic generation