British children's author and comedian David Walliams has denied allegations of inappropriate behaviour after publisher HarperCollins dropped him.