Former rugby player Gareth Thomas has offered his support to Tom Daley, who confirmed he was in a relationship with a man on Monday.