Controlling near-field optical intensities in metal nanoparticle systems by polarization pulse shaping