Optical pulse engineering and processing using nonlinearities of tapered and photonic crystal waveguides made of silicon