When did Kerry become a navy officer?