Israel's navy has intercepted a ship carrying hundreds of tonnes of Iranian weapons intended for Hezbollah in Lebanon, the Israeli military has said.