Selective excitation of periodic dynamics in external cavity laser diodes