U.S. military ship fires 30 warning shots after encounter with Iranian vessels