Former First Sea Lord and Admiral Sir Ben Key has been stripped of his rank after his affair with a female officer under his command was exposed by the woman's husband to officials