Rest-frame ultraviolet spectra of massive galaxies at z ~ 3: evidence of high-velocity outflows