Realizing Ultrafast Electron Pulse Self-Compression by Femtosecond Pulse Shaping Technique.