The Queen has paid tribute to the author Dame Jilly Cooper who has died at the age of 88, describing her as a “legend” and a “wonderfully witty and compassionate friend to me and so many”.