Iranian and US blockades of the Strait of Hormuz have sharply curbed energy exports from the Gulf as both sides tried to assert their authority on the waterway.