Side-mode gain in grating-tuned extended-cavity semiconductor lasers: investigation of stable single-mode operation conditions