Commodore Philip Inch, United States navy