World leaders have been responding cautiously amid U.S. and Israeli strikes on Iran, the death of its supreme leader and fears of a wider war.