Dame Judi Dench has revealed the apple tree she planted in honour of her friend Dame Maggie Smith bore fruit on the day of the actress’s funeral.