Title: Passively mode-locked and self-pulsing semiconductor lasers