Multisection DFB laser with partially corrugated gratings