Spatial phase shaping of ultrashort laser pulses to overcome the diffraction limit