Nonlinear energy chirp compensation with corrugated structures