David Walliams wrote of a 'meaningless' one-night stand, sex addiction and his 'close' relationship with Russell Brand in his diary