US submarines attack Iranian ship