The White House has said Israel’s overnight strikes on Iran should end the direct exchange of fire between the two countries while warning Tehran of “consequences” should it respond.