Single-longitudinal-mode condition for DFB lasers