Iran has targeted US naval units in the Strait of Hormuz after the attempt to intercept an Iranian oil tanker by US forces.