Hybrid and passive mode-locking of a two-section laser diode in a Fourier transform external cavity