Hudson, William Leverreth, active 1854-1878, Captain US Navy