Sufficient conditions for the stability of a class of interconnected dynamic systems