Cary, Charles John, 9th Viscount Falkland, Captain, RN