Directly-modulated laser