Former Wales and Lions captain Gareth Thomas says sport needs to confront stereotypes of homosexuality as he talks about coming out as a gay man and splitting from his wife.