Former Wales rugby captain Gareth Thomas has revealed that he has been living with HIV, and that he has previously been blackmailed by people threatening to make the story public.