Apple, Pear and Cranberry Tart