Fraser, Alexander, active 1775-1791, Captain