Dynamics of a Semiconductor Laser with Two External Cavities