Nonlinear pulse shaping and causality.