Iranian officials say the Strait of Hormuz has been closed in response to US strikes.