Davies, Richard, active 1778-1784, Captain