Gay Royal Navy officer awarded £45,000 after being forced to come out in accommodation row